<%-- 
    Document   : LoginSuccess
    Created on : 2017-6-25, 16:05:41
    Author     : JSJSYS
--%>
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

<!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>   
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

        <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
        <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

        <title>JSP Page</title>
    </head>
    <body>
        <h3>
            <p class="text-center">
                <span class="label label-default">成功登陆。小伙子，你很棒!</span> 
            </p>
            <p class="text-center">
                <span class="label label-primary">${u.USERNAME}</span> 
            </p>
        </h3>
        <div class="container">
            <div class="row"  >
                <div class="col-md-2"> </div>
                <div class="col-md-8" style="background-color: activeborder">
                    <table class="table table-striped">
                        <h3>
                            <td><span class="label label-primary">ID</span></td>
                            <td><span class="label label-success">用户名</span></td>
                            <td><span class="label label-info">密码</span></td>
                            <td><span class="label label-warning">性别</span></td>
                            <td><span class="label label-danger">年龄</span></td>
                        </h3>
                        <c:forEach items="${list}" var="item">
                            <tr>
                                <td>${item.ID}</td>
                                <td>${item.USERNAME}</td>
                                <td>${item.PASSWORD}</td>
                                <td>${item.SEX}</td>
                                <td>${item.AGE}</td>
                            </tr>
                        </c:forEach>

                    </table>
                </div>
                <div class="col-md-2"> </div>
            </div>

        </div> 

    </body>
</html>
